var promise = new Promise((resolve, reject) => {
    console.log('Promise');
    resolve();
})
promise.then(()=>{
  console.log('resolve');
})
console.log(11)

// result:
 // Promise
 // 11
 // resolve
